package com.shuwen.gcdj.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 计划表 (StrategyPlancycle)表实体类
 *
 * @author makejava
 * @since 2023-05-09 13:32:15
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("strategy_plancycle")
public class StrategyPlancycle extends Model<StrategyPlancycle> implements Serializable{
private static final long serialVersionUID = 1L;
   /**
    *主键id    
    */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;


    /**
    *策略id    
    */
    private String strategyId;

    /**
    *保养等级    
    */
    private Integer maintenanceType;

    /**
    *周    
    */
    private String weekly;

    /**
    *月    
    */
    private String monthly;

    /**
    *年    
    */
    private String yearly;

    /**
    *计划周期类型    
    */
    private Integer planCycle;

    /**
    *隔天    
    */
    private Integer everyDay;

    /**
    *自定义    
    */
    private String customerDay;

    /**
    *是否跳过非工作日    
    */
    private Boolean isWeekend;

    /**
    *创建者id    
    */
    private String createId;

    /**
    *创建时间    
    */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
    *更新者id    
    */
    private String updateId;

    /**
    *更新时间    
    */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
    *是否删除 1-删除 0-正常    
    */
    private Integer isDelete;

 /**
  * 备注
  */
    private String remark;

    /**
    *一级部件id    
    */
    private String structureId;

    /**
    *季节    
    */
    private String season;
}
